package cn.csc.module.product.controller.admin.category.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.math.BigInteger;
import java.time.LocalDateTime;

/**
 * 分类信息 Excel VO
 *
 * @author liuchuang
 */
@Data
public class CategoryExcelVO {

    @ExcelProperty("分类id")
    private BigInteger id;

    @ExcelProperty("店铺id")
    private BigInteger shopId;

    @ExcelProperty("父ID")
    private BigInteger parentId;

    @ExcelProperty("分类名称")
    private String name;

    @ExcelProperty("分类描述")
    private String descInfo;

    @ExcelProperty("分类地址{parent_id}-{child_id},...")
    private String path;

    @ExcelProperty("状态 1:enable, 0:disable, -1:deleted")
    private Integer status;

    @ExcelProperty("分类图标")
    private String icon;

    @ExcelProperty("子类目数量")
    private Integer itemNum;

    @ExcelProperty("分类的显示图片")
    private String imgUrl;

    @ExcelProperty("分类层级 从0开始")
    private Integer level;

    @ExcelProperty("排序")
    private Integer seq;

    @ExcelProperty("商品数量")
    private Integer productNum;

    @ExcelProperty("佣金比列")
    private Integer commissionRate;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
